package com.lt.report;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

//@SpringBootApplication//(exclude = DataSourceAutoConfiguration.class) //排除自动注入数据源的配置（取消数据库配置），一般使用在客户端（消费者）服务中
@SpringBootApplication(scanBasePackages = "com")
@MapperScan({"com.lt.report.dao","com.lt.report.dao.doubleDao","com.lt.contract.dao","com.lt.hr.dao"})
@ServletComponentScan("com.lt.contract.filter")  //注册过滤器注解
@Configuration
@EnableScheduling
public class DoubleApplication {

    public static void main(String[] args) {
        SpringApplication.run(DoubleApplication.class, args);
    }




}
